package com.yuju.hotel.dao.mapper;

import com.yuju.hotel.dao.entity.Good;
import com.yuju.persist.base.mapper.BaseMapper;
import java.util.List;
import java.util.Map;

public interface GoodMapper extends BaseMapper<Good, String> {
    int deleteByPrimaryKey(String id);

    int selectCountByMap(Map<Object, Object> map);

    List<Good> selectListByMap(Map<Object, Object> map);

    int insert(Good record);

    int insertSelective(Good record);

    Good selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Good record);

    int updateByPrimaryKey(Good record);
}